home *** CD-ROM | disk | FTP | other *** search
- -- background: 2776 from stack: in.0
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 0
- -- name:
-
-
- -- part 5 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=17 top=23 right=41 bottom=502
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Title
-
-
- -- part 7 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=440 top=216 right=237 bottom=464
- -- title width / last selected line: 0
- -- icon id / first selected line: 24317 / 24317
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: back
- ----- HyperTalk script -----
- on mouseUp
- go to card id 2179
- end mouseUp
-
-
-
-
- -- part 10 (button)
- -- low flags: 00
- -- high flags: 8000
- -- rect: left=454 top=37 right=87 bottom=493
- -- title width / last selected line: 0
- -- icon id / first selected line: 20186 / 20186
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: sort
- ----- HyperTalk script -----
- on mouseUp
- sort by first word of field "Title"
- end mouseUp
-
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 8000
- -- rect: left=454 top=96 right=146 bottom=493
- -- title width / last selected line: 0
- -- icon id / first selected line: 32670 / 32670
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: scan
- ----- HyperTalk script -----
- on mouseUp
- show all cards
- end mouseUp
-
-
-
- -- part 12 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=439 top=244 right=262 bottom=469
- -- title width / last selected line: 0
- -- icon id / first selected line: 15420 / 15420
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: prev
- ----- HyperTalk script -----
- on mouseUp
- go to prev card
- end mouseUp
-
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=473 top=244 right=262 bottom=503
- -- title width / last selected line: 0
- -- icon id / first selected line: 16560 / 16560
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: next
- ----- HyperTalk script -----
- on mouseUp
- go to next card
- end mouseUp
-
-
-
- -- part 14 (button)
- -- low flags: 00
- -- high flags: 8000
- -- rect: left=454 top=157 right=207 bottom=493
- -- title width / last selected line: 0
- -- icon id / first selected line: 3430 / 3430
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: new
- ----- HyperTalk script -----
- on mouseUp
- doMenu New Card
- click at location of field "Title"
- end mouseUp
-
-
-
- -- part 17 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=475 top=216 right=238 bottom=501
- -- title width / last selected line: 0
- -- icon id / first selected line: 21700 / 21700
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: home
- ----- HyperTalk script -----
- on mouseUp
- go home
- end mouseUp
-
-
-
- -- part 18 (field)
- -- low flags: 00
- -- high flags: 0007
- -- rect: left=37 top=52 right=232 bottom=413
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Text
-
-
- -- part 19 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=284 top=243 right=261 bottom=420
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: table of contents
- ----- HyperTalk script -----
- on mouseUp
- go to card "table"
- end mouseUp
-
-
-
-
- -- part 20 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=50 top=241 right=263 bottom=148
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: hypertext
- ----- HyperTalk script -----
- on mouseUp
- global initialized
- put selection into textSelected
- push card
- visual effect barn door close
- go to first card
- put "Mtl.Hypertext search hierarchy" into hierField
- put line 1 of card field hierField into thisStack
- put number of lines in card field hierField into searchTotal
- if searchTotal < 3 then
- show card field hierField
- show card button "Mtl.Hypertext Hierarchy Ordered"
- hide message
- answer "add to search hierarchy list" with "OK"
- exit mouseUp
- end if
- if initialized is empty then
- put "not empty" into initialized
- show card field hierField
- show card button "Mtl.Hypertext Hierarchy Ordered"
- hide message
- answer "this is your search order: continue to use it?" with "change it" or "use it"
- if it is "change it" then
- answer "change as desired, then press …Ordered" with "OK"
- put "re select text after changing search hierarchy"
- hide message
- exit mouseUp
- end if
- hide card field "Mtl.Hypertext search hierarchy"
- hide card button "Mtl.Hypertext Hierarchy Ordered"
- show message
- end if
- if textSelected is empty then
- visual effect barn door open
- pop card
- answer "select text to search (click & drag)" with "OK"
- exit mouseUp
- end if
- put "Sorry, none found" into lastMessage
- put empty into searchLine
- repeat with searchN = 2 to searchTotal
- if searchLine is not empty then
- visual effect iris close slow
- pop card
- put "Mtl.Hypertext 2.0, Harvey Y. Chang MD, 1988 Jan 17"
- -- CIS - 76367,1107; GEnie - H.Y.CHANG
- push card
- visual effect barn door close
- go to thisStack
- end if
- put line searchN of card field hierField into searchLine
- if searchLine is empty then next repeat
- if char 1 of searchLine is ":" then
- put searchLine into searchStack
- delete char 1 of searchStack
- put empty into searchLine
- else
- visual effect barn door open
- pop card
- push card
- put "…looking for " & searchStack
- visual effect iris open very slow
- go to searchStack
- if searchLine is "all" then
- put empty into searchField
- else
- put " in field " & quote & searchLine & quote into searchField
- end if
- put "Find " & quote & textSelected & quote & searchField
- do message
- put the result into theResult
- if theResult is empty then
- put "No further levels" into lastMessage
- put empty into it
- repeat until it is "Next level"
- answer "Continue search on same level?" with "Next level" or "Stop" or "Yes"
- if it is "Stop" then exit MouseUp
- if it is "Yes" then do message
- end repeat
- push card
- end if
- end if
- end repeat
- visual effect iris close slow
- pop card
- if "level" is in lastMessage then
- if theResult is "not found" then put "Not found in further levels" into lastMessage
- end if
- answer lastMessage with "OK"
- end mouseUp
-
-